package com.example.coreshopapp.bean;

public class GoodsReq {

    /**
     * isMarketable : true
     * page : 1
     * limit : 20
     * goodsCategoryId : 0
     */

    private boolean isMarketable;
    private int page;
    private int limit;
    private int goodsCategoryId;
    private String name;
    private String barcode;
    private int memberId;

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public GoodsReq(boolean isMarketable, int page, int limit, int goodsCategoryId, String name, String barcode) {
        this.isMarketable = isMarketable;
        this.page = page;
        this.limit = limit;
        this.goodsCategoryId = goodsCategoryId;
        this.name = name;
        this.barcode = barcode;
    }

    public GoodsReq() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public boolean isIsMarketable() {
        return isMarketable;
    }

    public void setIsMarketable(boolean isMarketable) {
        this.isMarketable = isMarketable;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
    public int getGoodsCategoryId() {
        return goodsCategoryId;
    }

    public void setGoodsCategoryId(int goodsCategoryId) {
        this.goodsCategoryId = goodsCategoryId;
    }
}
